package com.hava.film.timeline.xmeml.v5.entity;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;

import java.util.List;
import java.util.ArrayList;

@JacksonXmlRootElement(localName = "value")
public class Value {

    //一个或者多个元素
    @JacksonXmlProperty(localName = "horiz")
    @JacksonXmlElementWrapper(useWrapping = false)
    public List<String> horiz = new ArrayList<String>();

    //一个或者多个元素
    @JacksonXmlProperty(localName = "vert")
    @JacksonXmlElementWrapper(useWrapping = false)
    public List<String> vert = new ArrayList<String>();

    //一个或者多个元素
    @JacksonXmlProperty(localName = "alpha")
    @JacksonXmlElementWrapper(useWrapping = false)
    public List<String> alpha = new ArrayList<String>();

    //一个或者多个元素
    @JacksonXmlProperty(localName = "red")
    @JacksonXmlElementWrapper(useWrapping = false)
    public List<String> red = new ArrayList<String>();

    //一个或者多个元素
    @JacksonXmlProperty(localName = "green")
    @JacksonXmlElementWrapper(useWrapping = false)
    public List<String> green = new ArrayList<String>();

    //一个或者多个元素
    @JacksonXmlProperty(localName = "blue")
    @JacksonXmlElementWrapper(useWrapping = false)
    public List<String> blue = new ArrayList<String>();

    //一个或者多个元素
    @JacksonXmlProperty(localName = "timecode")
    @JacksonXmlElementWrapper(useWrapping = false)
    public List<Timecode> timecode = new ArrayList<Timecode>();

    //一个或者多个元素
    @JacksonXmlProperty(localName = "clip")
    @JacksonXmlElementWrapper(useWrapping = false)
    public List<Clip> clip = new ArrayList<Clip>();

    //一个或者多个元素
    @JacksonXmlProperty(localName = "sequence")
    @JacksonXmlElementWrapper(useWrapping = false)
    public List<Sequence> sequence = new ArrayList<Sequence>();

}
